home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / plotting / gnuplot3.lzh / gnuplot / README.Install < prev    next >
Text File  |  1991-09-24  |  8KB  |  198 lines

  1. The GNUPLOT source code and executables may be copied and/or modified
  2. freely as long as the copyright messages are left intact.
  3.  
  4. See the History file for changes to GNUPLOT.
  5.  
  6. Compilation instructions are near the end of this file.
  7.  
  8. GNUPLOT has been tested on Sun3's and Sun4's (SunOS 4.0.3 and 4.1.1),
  9. a VAX 6410 (VMS 5.2), Commodore Amiga's (KS/WB 1.3 and 2.0, Lattice C
  10. and Aztec C beta 5.2a), IBM PC XT's and AT's (MS-DOS 3.3/5.0 BC++ 2.0/TC++
  11. 1.0), IRIS 4D/70G and 4D/25G with MIPS C, NeXT with gnu C 1.34,
  12. DECStation 5000/200PXG (ULTRIX V4.1),
  13. AT&T 3B1 (version 3.51m with cc and gcc 1.39),
  14. and Apollo's (DomainOS SR10.3 BSD4.3 with C compiler 68K Rev 6.7(316)).
  15. The code is written with portability in mind.
  16. GNUPLOT has not been tested on Pyramid 90x and IBM PC Microsoft C.
  17.  
  18. Send your comments, suggestions, or modifications to 
  19.   pixar!info-gnuplot@sun.com
  20. This is a mailing list; to join it send a note to 
  21.   pixar!info-gnuplot-request@sun.com
  22. Send bug reports to
  23.   pixar!bug-gnuplot@sun.com
  24.  
  25.                        PREPROCESSOR #DEFINES
  26.  
  27. These #defines should be checked before compilation (see the makefiles):
  28. define      file            note
  29. ------      ----            --------
  30. NOVFORK     Makefile        define if you don't have the vfork() system call
  31. GAMMA       Makefile        define if you've got gamma(3)
  32. MEMCPY      Makefile        define if your bcopy() is called memcpy()
  33. MEMSET      Makefile        define if you have memset() but not bzero()
  34. NOCOPY      Makefile        define if you've don't have a memcpy() by any name
  35. bcopy()     plot.h          define if you've got a memcpy() by some OTHER name
  36.                               (see example in plot.h)
  37. PC          Makefile        define if compiling on a PClone
  38. MSDOS       Makefile        define if compiling under MSDOS;
  39.                               automatically defined by Microsoft C 5.10
  40. HELPFILE    Makefile        name including path of gnuplot.gih file.
  41. VERYLARGE   plot.h          define to be largest coordinate number.
  42. SHELL       plot.h          default shell to spawn if SHELL environment
  43.                               variable not found at run-time
  44. NOCWDRC     Makefile        define to inhibit check of ./.gnuplot
  45. READLINE    Makefile        define if you want command-line editing
  46.  
  47. Valid TERMFLAGS defines.  These defines are used to include the
  48. various plotting terminals, printers, and protocols that a given version
  49. of gnuplot can access:
  50.  
  51. define         file            note
  52. ------      ----            --------
  53. TERMFLAGS   Makefile        the set of terminals you want, from below
  54.             or term.h
  55.  
  56.    AED         AED 512 and AED 767
  57.    AMIGASCREEN Amiga custom screen
  58.    APOLLO      Apollo Graphics Primitive Resource (resizable window)
  59.    ATT6300     PC with AT&T 6300 graphics
  60.    BITGRAPH    BBN BitGraph
  61.    CGI         SCO CGI
  62.    CORONA      PC with Corona graphics 325
  63.    DXY800A     Roland DXY800A plotter
  64.    DUMB           Printer or glass dumb terminal
  65.    DXF           AutoCad (Release 10.x) dxf file format
  66.    EEPIC       EEPIC-extended LaTeX driver, for EEPIC users
  67.    EGALIB      PC with EGA/VGA graphics.
  68.    EMTEX       LATEX picture environment with emTeX specials
  69.    EPS60       Epson-style 60-dot per inch printers
  70.    EPSONP      Epson LX-800, Star NL-10, NX-1000 and lots of others
  71.    FIG         Fig graphics language (requires object.h from TransFig)
  72.    GPR         Apollo Graphics Primitive Resource (fixed-size window)
  73.    HERCULES    IBM PC/Clone with Hercules graphics board
  74.    HP2648      HP2648, HP2647
  75.    HP26        HP2623A and maybe others
  76.    HP75        HP7580, and probably other HPs
  77.    HPGL        HP7475 and (hopefully) lots of others
  78.    HPLJII      HP Laserjet II
  79.    IMAGEN      Imagen laser printers (300dpi) (requires -Iterm also)
  80.    IRIS4D      IRIS4D series computer
  81.    KERMIT      MS-Kermit Tektronix 4010 emulator
  82.    LATEX       LATEX picture environment
  83.    NEC         NEC CP6 pinwriter printer
  84.    POSTSCRIPT  Postscript
  85.    PRESCRIBE   Kyocera Laser printer
  86.    QMS         QMS/QUIC laserprinter (Talaris 1200 and others)
  87.    REGIS       ReGis graphics (vt125, vt220, vt240, Gigis...)
  88.    SELANAR     Selanar
  89.    STARC       Star Color Printer
  90.    SUN         Sun Microsystems Workstation
  91.    T410X       Tektronix 4106, 4107, 4109 and 420x terminals
  92.    TANDY60     Tandy DMP-130 series 60-dot per inch graphics
  93.    TEK         Tektronix 4010, and probably others
  94.    UNIXPC      unixpc (ATT 3b1 or ATT 7300)
  95.    UNIXPLOT    unixplot
  96.    V384        Vectrix 384 and tandy color printer
  97.    VTTEK       VT like Tektronix 4010 emulator
  98.    X11         X11R4 window system
  99.  
  100.  
  101. These #defines are defined automatically by various compilers, some
  102. gnuplot routines check these defines to implement features found in the
  103. various environments:
  104.  
  105. define           note
  106. ------        --------
  107. AMIGA_AC_5    defined for Manx Aztec C 5.2a on the Amiga
  108. AMIGA_LC_5_1  defined for Lattice C 5.01 on the Amiga
  109. apollo        defined by Apollo's C compilers.
  110. _CRAY         defined by CRAY's C compiler.
  111. __TURBOC__    defined automatically by Turbo C 2.0, C++ 1.0, Borland C++ 2.0
  112. unix          defined by most unix C compilers.  
  113. vms           (and VMS) defined by VAX-11 C under VMS.
  114. __ZTC__       Zortech C compiler under MSDOS.
  115.  
  116.  
  117.                              TO COMPILE
  118.  
  119. under UNIX:  
  120. To compile do:
  121.   Copy makefile.unx to Makefile
  122.       cp makefile.unx Makefile
  123.   Look through the Makefile to see if you need to make any changes.
  124.   See especially the HELPDEST and TERMFLAGS variables.  Edit if needed.
  125.   Alternatively, all these variables may be set as command line arguments to
  126.   'make'. For example:
  127.  
  128.     make <MACHINE> HELPDEST='/usr/um/misc/lib/gnuplot.gih' \
  129.         DEST='/usr/um/misc/bin' READLINE=
  130.  
  131.   Edit term.h, to include/exclude terminals
  132.   Type
  133.       make
  134.   For further instructions.
  135.   If that works, try
  136.       make install
  137.   For further instructions.
  138.  
  139. under VMS:  
  140.   To compile:
  141.      copy makefile.vms makefile.
  142.      make
  143.   Or if you don't have a suitable make:
  144.      @buildvms
  145.   To tell gnuplot where to find the help library:
  146.       $ define gnuplot$help disk:[directory]gnuplot.hlb
  147.   Alternatively (and preferably) put the help in the main system help library.
  148.  
  149. under AmigaDOS:
  150. Using Aztec C 5.2a
  151.       make -f makefile.ami
  152. Using Lattice C 5.1
  153.       lmk -f makefile.amg
  154.  
  155. under MSDOS:
  156. Using Microsoft C 5.10.
  157.       copy makefile.msc makefile
  158.       make makefile
  159.  
  160. Using Borland C++ 2.0, Turbo C++ 1.0
  161.       copy makefile.tc makefile
  162.   Edit makefile to change TC, BIN, BGI, BGIOBJ. You may also want to turn
  163.       on overlays (See manual for more on overlays).
  164.   Edit linkopt.tc (linkopt.tco if overlays on) to change location of
  165.       libraries.
  166.       make
  167.  
  168. Using Turbo C 2.0.
  169.   As per Borland C++ 2.0. Edit linkopt.tc to change location of libraries.
  170.  
  171.  
  172. The file gnuplot.gih is needed for help on the PC.
  173. If the file gnuplot.gih is not in the default directory, then use:
  174.     set GNUHELP={full path name of gnuplot.gih}
  175.  
  176.  
  177.                          ENVIRONMENT VARIABLES
  178.  
  179. See 'help environment'.
  180.  
  181. If the environment variable GNUTERM is found, it is used as the terminal
  182. type. Otherwise, in some cases the variable TERM will be used, or the
  183. hardware may be automatically detected. 
  184.  
  185. The PC version looks for the environment variable GNUPLOT to contain
  186. the name of the directory from which to load the initialization file
  187. GNUPLOT.INI.  See the help on 'start_up' for more information.
  188.  
  189. HOME is examined as a directory where a .gnuplot startup file might be
  190. found. See help on "start-up".
  191.  
  192. If defined, the environment variable GNUHELP is used for the name
  193. of the .gih help file, otherwise HELPFILE (defined in makefile or 
  194. plot.c) is used.
  195.  
  196. The VMS version looks for the logical name GNUPLOT$HELP to locate 
  197. the help library.
  198.